import User from "@views/user/User";

export default [
  {
    path: "/user",
    name: "User",
    meta: {
      title: "个人中心",
      keepAlive: true,
      footer: true,
      backgroundColor: "#312f38"
      // auth: true
    },
    component: User
  },
  {
    path: "/user/setting",
    name: "Setting",
    meta: {
      title: "设置",
      keepAlive: true,
      backgroundColor: "#2a2631"
      // auth: true
    },
    component: () => import("@views/user/setting/Index")
  },
  {
    path: "/updatePhone",
    name: "UpdatePhone",
    meta: {
      title: "修改手机号",
      keepAlive: true,
      backgroundColor: "#2a2631"
      // auth: true
    },
    component: () => import("@views/user/setting/UpdatePhone")
  },
  {
    path: "/change_password",
    name: "ChangePassword",
    meta: {
      title: "重置密码",
      keepAlive: true,
      backgroundColor: "#2a2631"
    },
    component: () => import("@views/user/setting/ChangePassword")
  },
  {
    path: "/card",
    name: "Card",
    meta: {
      title: "我的名片",
      keepAlive: true,
      backgroundColor: "#2a2631"
    },
    component: () => import("@views/user/card/Index")
  },
  {
    path: "/card/edit",
    name: "CardEdit",
    meta: {
      title: "编辑名片",
      keepAlive: true,
      backgroundColor: "#26222c"
    },
    component: () => import("@views/user/card/Edit")
  },
  {
    path: "/card/input",
    name: "InputTitle",
    meta: {
      title: "编辑头衔",
      keepAlive: true,
      backgroundColor: "#26222c"
    },
    component: () => import("@views/user/card/InputTitle")
  },
  {
    path: "/user/vip",
    name: "Vip",
    meta: {
      title: "开通VIP",
      keepAlive: true,
      backgroundColor: "#32303a"
    },
    component: () => import("@views/user/Vip")
  },
  {
    path: "/user/concern",
    name: "Concern",
    meta: {
      title: "我的关注",
      keepAlive: true,
      backgroundColor: "#2a2631"
    },
    component: () => import("@views/user/Concern")
  },
  {
    path: "/user/origin",
    name: "Origin",
    meta: {
      title: "我的原创",
      keepAlive: true,
      backgroundColor: "#2a2631"
    },
    component: () => import("@views/user/Origin")
  },
  {
    path: "/user/publish",
    name: "Publish",
    meta: {
      title: "发布推文",
      keepAlive: true,
      backgroundColor: "#2a2631"
    },
    component: () => import("@views/user/Publish")
  },
  {
    path: "/user/publish2",
    name: "Publish2",
    meta: {
      title: "发布推文",
      keepAlive: true,
      backgroundColor: "#2a2631"
    },
    component: () => import("@views/user/Publish2")
  },
  {
    path: "/user/transform",
    name: "Transform",
    meta: {
      title: "我转换的推文",
      keepAlive: true,
      backgroundColor: "#2a2631"
    },
    component: () => import("@views/user/Transform")
  },
  {
    path: "/user/draft",
    name: "Draft",
    meta: {
      title: "草稿箱",
      keepAlive: true,
      backgroundColor: "#2a2631"
    },
    component: () => import("@views/user/Draft")
  },
  {
    path: "/user/collect",
    name: "Collection",
    meta: {
      title: "我的收藏",
      keepAlive: true,
      backgroundColor: "#2a2631"
    },
    component: () => import("@views/user/Collection")
  },
  {
    path: "/user/integral",
    name: "Integral",
    meta: {
      title: "我的积分",
      keepAlive: true,
      backgroundColor: "#32303a"
    },
    component: () => import("@views/user/Integral")
  },
  {
    path: "/user/invite",
    name: "userInvite",
    meta: {
      title: "邀请有礼",
      keepAlive: true,
      backgroundColor: "#2a2631"
    },
    component: () => import("@views/user/Invite")
  }
];
